home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssccccaaaalllleeee((((3333GGGG)))) ssssccccaaaalllleeee((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ssssccccaaaalllleeee - scales and mirrors the current matrix
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssccccaaaalllleeee((((xxxx,,,, yyyy,,,, zzzz))))
- rrrreeeeaaaallll xxxx,,,, yyyy,,,, zzzz
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _x expects the scale factor in the x direction.
-
- _y expects the scale factor in the y direction.
-
- _z expects the scale factor in the z direction.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ssssccccaaaalllleeee modifies the current matrix, causing it to shrink, expand, or
- mirror coordinates that it transforms. Values with a magnitude greater
- than 1 result in expansion; values with a magnitude less than 1 cause
- shrinkage. Negative values result in mirrored coordinates.
-
- The _x, _y, and _z scale factors are used to compute a 4x4 scale matrix,
- which then premultiplies the current matrix, as specified by mmmmmmmmooooddddeeee. Thus
- if _T is the current matrix, and _S is the matrix computed by ssssccccaaaalllleeee, _T is
- replaced with _S*_T.
-
- The current matrix is the top matrix on the transformation stack if mmmmmmmmooooddddeeee
- is MMMMSSSSIIIINNNNGGGGLLLL, the top matrix on the ModelView matrix stack if mmmmmmmmooooddddeeee is
- MMMMVVVVIIIIEEEEWWWWIIII, the Projection matrix if mmmmmmmmooooddddeeee is MMMMPPPPRRRROOOOJJJJEEEE, or the Texture matrix
- if mmmmmmmmooooddddeeee is MMMMTTTTEEEEXXXXTTTTUUUU.
-
- All objects drawn after ssssccccaaaalllleeee is called while mmmmmmmmooooddddeeee is either MMMMSSSSIIIINNNNGGGGLLLL or
- MMMMVVVVIIIIEEEEWWWWIIII are scaled. Use ppppuuuusssshhhhmmmmaaaa and ppppooooppppmmmmaaaatttt to preserve and restore the
- unscaled coordinate system.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- mmode, popmat, pushma, rotate, transl
-
- NNNNOOOOTTTTEEEESSSS
- Matrices that negate coordinates, such as ssssccccaaaalllleeee (-1.0, 1.0, 1.0), reverse
- the directional order of a polygon's points and can cause the opposite of
- what is intended.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-